package learn.factorymethod.now;

/**
 * @author 执笔
 * @date 2019/11/25 15:51
 */
public interface OrderPay {

    /**
     * 下单
     */
    void order();
}

class WxOrderPay implements OrderPay {

    public void order() {
        // 微信支付
    }
}

class ZfbOrderPay implements OrderPay {

    public void order() {
        // 支付宝支付
    }
}

class YlOrderPay implements OrderPay {

    public void order() {
        // 银联支付
    }
}



